package com.ssy.lingxi.purchase.model.response;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wyx
 * @version 2.0.0
 * @date 2021-10-29
 */
@Setter
@Getter
public class PurchaseProductVO {
    /**
     * 商品合计金额，保留小数点后两位
     */
    private String productAmount;

    /**
     * 请购总数量
     */
    private String quantity;

    /**
     * 已转采购订单总数量
     */
    private String transferQuantity;

    /**
     * 订单商品列表
     */
    private List<PurchaseProductDetailVO> products;

    public PurchaseProductVO() {
        this.productAmount = "0.00";
        this.quantity = "0";
        this.transferQuantity = "0";
        this.products = new ArrayList<>();
    }
}
